﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FlickrDownloadr.UI
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
        }

        private void About_Load(object sender, EventArgs e)
        {
            labelVersion.Text = "Version " + Application.ProductVersion;
        }

        private void OpenUrl(string url)
        {
            System.Diagnostics.Process.Start(url);
        }

        private void Credits_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            OpenUrl((string)((LinkLabel)sender).Tag);
        }
    }
}
